<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="utf-8">
    <title>轻院报名中心</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="./css/bootstrap.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
    </style>
    <!-- <link href="./css/bootstrap-responsive.css" rel="stylesheet"> -->

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="./js/html5shiv.js"></script>
    <![endif]-->
  </head>

  <body>
    


      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
        <h3>请登录</h3>
      </div>
      <div class="modal-body">
        <div class="event_list">
          <ul id="myTab" class="nav nav-tabs">
            <li class="active"><a href="#person" data-toggle="tab">个人登录</a></li>
            <li><a href="#group" data-toggle="tab">单位登录</a></li>
          </ul>
          <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade in active" id="person">
            <span><font color="red"><s:fielderror fieldName="login"/></font></span>
              <s:form class="form-signin" method="post" action="user_login">
               
                <s:textfield type="text" name="loginName" cssClass="input-block-level" placeholder="账号"/>
                <s:password type="password" name="password" cssClass="input-block-level" placeholder="密码"/>             
                <div class="row-fluid">
                <div class="span6">
                    <button class="btn btn-warning btn-block" aria-hidden="true" type="reset">重置</button>
                  </div>
                  <div class="span6">
                    <button class="btn btn-primary btn-block" aria-hidden="true" type="submit">登录</button>
                  </div>
                  
                </div>
              </s:form>
            </div>
            <div class="tab-pane fade" id="group">
              <s:form cssClass="form-signin" method="post" action="user_loginAdmin">
                <s:textfield type="text" name="loginName" cssClass="input-block-level" placeholder="账号"/>
                <s:password type="password" name="password" cssClass="input-block-level" placeholder="密码"/>             
                <div class="row-fluid">
                  <div class="span6">
                    <button class="btn btn-warning btn-block" aria-hidden="true" type="reset">重置</button>
                  </div>
                  <div class="span6">
                    <button class="btn btn-primary btn-block" aria-hidden="true" type="submit">登录</button>
                  </div>
                </div>
              </s:form>
            </div>
          </div>
        </div>
        <div class="row-fluid">
               <div class="span12">
                 <span>您还没有注册？请点击<s:a action="user_registerUI">这里</s:a></span>
               </div>
               
        </div>
      </div>

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="./js/jquery.js"></script>
    <script src="./js/bootstrap.js"></script>
  </body>
</html>


